<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>adminer后台管理系统</title>
<link href="<{$APP_PUBLIC_PATH}>images/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<{$APP_PUBLIC_PATH}>javascript/jquery.min.js"></script>
<script src="lib/ckeditor/ckeditor.js" type="text/javascript"></script>
<script src="lib/ckfinder/ckfinder.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){ //这个就是传说的ready
		$("#main_big").slideToggle("slow");
});
</script>
</head>

<body style="background:#FFF">
	<div id="main_big" style="display:none">回复留言</div>
    <div id="main_contents">
    <div id="main_description">描述：回复留言</div>
<script type="text/javascript">
$(document).ready(function(){ //这个就是传说的ready
		$("#form1").slideDown("slow");
        $(".main_table tr:even").addClass("alt");
		$('#new').click(function(){
			$('#sort').remove();
			$('#e_sort').remove();
			$('#new').hide();
			$('#sort_t').append('<input type="text" name="sort" />');
			$('#e_sort_t').append('<input type="text" name="e_sort" />');
		});
});
</script>
<iframe name="get" style="display:none;"></iframe>
<volist name="feedback" id="vo">
<form id="form1" name="form1" method="post" target="get" style="display:none;" action="?m=Feedback&a=feedback_edit_get" enctype="multipart/form-data">
<input name="feedback_id" type="hidden" value="<{$vo.feedback_id}>" />
    <div id="table_c">
     	<table border="0" cellspacing="1" class="main_table">
       		 <tr>
            	<th colspan="2">编辑留言资讯</th>
            </tr>
        	 <tr>
              <td align="right" valign="middle">留言标题</td>
              <td align="left" valign="middle"><input type="text" name="title" id="title" value="<{$vo.title}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">留言分类</td>
              <td align="left" valign="middle"><input type="text" name="fb_sort" id="fb_sort" value="<{$vo.fb_sort}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">姓名</td>
              <td align="left" valign="middle"><input type="text" name="name" id="name" value="<{$vo.name}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">性别</td>
              <td align="left" valign="middle"><input type="text" name="sex" id="sex" value="<{$vo.sex}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">QQ</td>
              <td align="left" valign="middle"><input type="text" name="qq" id="qq" value="<{$vo.qq}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">E-mail</td>
              <td align="left" valign="middle"><input type="text" name="mail" id="mail" value="<{$vo.mail}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">联系电话</td>
              <td align="left" valign="middle"><input type="text" name="phone" id="phone" value="<{$vo.phone}>" /></td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">留言内容</td>
              <td align="left" valign="middle"><textarea class="input_c" name="contents" id="contents" cols="45" rows="5"><{$vo.contents}></textarea>
              </td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">回复</td>
              <td align="left" valign="middle"><textarea class="input_c" name="reply" id="reply" cols="45" rows="5"><{$vo.reply}></textarea>
<script type="text/javascript">
var editor = CKEDITOR.replace( 'reply',
{
width:'80%',
height:'500'
});
CKFinder.SetupCKEditor(editor, 'lib/ckfinder/');
</script>
              </td>
             </tr>
        	 <tr>
              <td align="right" valign="middle">是否显示</td>
              <td align="left" valign="middle"><input type="radio" name="show_m" id="show_m" value="1" <if condition='$vo.show_m eq 1'>checked="checked"</if> /> 是 <input type="radio" name="show_m" id="show_m" value="0" <if condition='$vo.show_m eq 0'>checked="checked"</if> /> 否</td>
             </tr>

        </table>
</div>
            	  <input type="submit" name="button" id="button" class="main_get" value="提  交" />
        </form>
			</volist>
	</div>


</body>
</html>
